var message=0
var key=0
var Message=0
var code=0
var decode=[]
Page({
  data: {
    reslut:"加密的最终结果将在这里显示"
  },
  inputvalue1: function(e)  {
    message= e.detail.value
    Message=message.toUpperCase()
 },
 inputvalue2: function(e)  {
   key= e.detail.value
},
encrypt: function(){
  console.log(message.length)
  for (var i = 0,len=message.length;i<len;i++)
  {
    decode.push(Message.charCodeAt(i))
    console.log(decode)
  }
}





})